<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>

<security:authorize access="isAuthenticated()">
	<ul class="nav nav-pills nav-stacked">
		<li class="active"><a href="<c:url value="/profile" />"> Profile</a></li>
		<li><a href="<c:url value="/profile/flights/my" />"> My Flights</a></li>
		<li><a href="<c:url value="/profile/flights" />"> Available Flights</a></li>
		
		<security:authorize ifAnyGranted="ROLE_ADMIN">
		<li><a href="<c:url value="/client/list" />"> Menu Item 3</a></li>
		<li><a href="<c:url value="/client/list" />"> Another Operation</a></li>
		</security:authorize>
	</ul>
</security:authorize>